package com.tudouji.project.harvest.domain;

import java.math.BigDecimal;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 采收合同扣杂标准对象 contstandard
 * 
 * @author tudouji
 * @date 2021-05-13
 */
public class Contstandard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String guid;

    /** 采收合同id */
    @Excel(name = "采收合同id")
    private String contractid;

    /** 扣杂标准id */
    @Excel(name = "扣杂标准id")
    private String standardid;

    /** 扣杂标准名字 */
    @Excel(name = "扣杂标准名字")
    private String standard;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;
    private Integer type;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public void setGuid(String guid) 
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setContractid(String contractid) 
    {
        this.contractid = contractid;
    }

    public String getContractid() 
    {
        return contractid;
    }
    public void setStandardid(String standardid) 
    {
        this.standardid = standardid;
    }

    public String getStandardid() 
    {
        return standardid;
    }
    public void setStandard(String standard) 
    {
        this.standard = standard;
    }

    public String getStandard() 
    {
        return standard;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("contractid", getContractid())
            .append("standardid", getStandardid())
            .append("standard", getStandard())
            .append("price", getPrice())
            .toString();
    }
}
